(define-module (emacs gradle-mode)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix build-system emacs)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (gnu packages emacs-xyz))

(define-public emacs-gradle-mode
  (package
    (name "emacs-gradle-mode")
    (version "0.5.5")
    (source
     (origin
       (method url-fetch)
       (uri (string-append
             "https://stable.melpa.org/packages/gradle-mode-"
             version
             ".el"))
       (sha256
        (base32
         "1dj55ycl6issgzpm6q5m91d9dd30jrmb31n7782bjxw5d2bm2w8i"))))
    (build-system emacs-build-system)
    (propagated-inputs `(("emacs-s" ,emacs-s)))
    (home-page
     "http://github.com/jacobono/emacs-gradle-mode")
    (synopsis
     "Gradle integration with Emacs' compile")
    (description
     "Gradle integration into Emacs, through compile-mode.")
    (license license:gpl3+)))
